﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="UserInfoModify.aspx.cs"
    Inherits="Customer_Profile.Admin.UserInfoModify" %>

<%@ Register Src="../mainTop.ascx" TagName="mainTop" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>菜单管理-菜单修改</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
		function check()
		{
		    if(document.getElementById("txtUserName").value=="")
		    {
		        alert("Please Fill UserName");
		        return false;
		    }
//		    if(document.getElementById("oldUserPass").value!='<%=sOldPaw %>')
//		    {
//		        alert("Old Password Is Wrong");
//		        return false;
//		    }	
		    if(document.getElementById("txtUserPass").value=="")
		    {
		        alert("Please Fill The New Password");
		        return false;
		    }
		    if(document.getElementById("txtUserPass").value!=document.getElementById("txtUserPsw2").value)
		    {
		        alert("The New Password Is Inconsistent！");
		        return false;
		    }
		    if(document.getElementById("txtUserPass").value=='<%=sOldPaw %>')
		    {
		        alert("New Password Can't Equal The Old Password！");
		        return false;
		    }
		    return true;
		}
    </script>

</head>
<body bgcolor="#ffffff">
    <form id="Form1" runat="server">
        <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="1" background="/images/dot_vline.gif">
                    <img src="/images/spacer.gif" width="1" height="1"></td>
                <td width="15" valign="top">
                    <img src="/images/spacer.gif" width="15" height="1"></td>
                <td valign="top">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <img src="/images/spacer.gif" width="1" height="5"></td>
                        </tr>
                        <tr>
                            <td height="23">
                                <span class="navi-blk">
                                    <uc1:mainTop ID="MainTop1" runat="server" />
                                    系统管理>用户管理>修改密码</span></td>
                        </tr>
                        <tr>
                            <td background="/images/dot_hline.gif">
                                <img src="/images/spacer.gif" width="1" height="1"></td>
                        </tr>
                    </table>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <img src="/images/spacer.gif" width="1" height="8"></td>
                        </tr>
                    </table>
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td valign="top">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td bgcolor="#1765a7">
                                            <img src="/images/spacer.gif" width="1" height="3"></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td width="12" class="bglist1">
                                                        <img src="/images/arw_blu_rgt.gif" width="4" height="7"></td>
                                                    <td class="bglist1">
                                                        修改密码</td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <img src="/images/spacer.gif" width="1" height="1"></td>
                                    </tr>
                                </table>
                                <table width="100%" border="0" cellspacing="0" cellpadding="4">
                                    <tr>
                                        <td width="145" valign="top" class="bglist-3">
                                            登录名：</td>
                                        <td class="bglist-4">
                                            <input name="txtLoginID" type="text" class="input2" id="txtLoginID" size="50" runat="server"
                                                readonly />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="145" valign="top" class="bglist-3">
                                            用户名：</td>
                                        <td class="bglist-4">
                                            <input name="txtUserName" type="text" class="input2" id="txtUserName" size="50" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="145" valign="top" class="bglist-3">
                                            旧密码：</td>
                                        <td class="bglist-4">
                                            <input name="txtUserPass" type="password" class="input2" id="oldUserPass" size="50"
                                                runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="145" valign="top" class="bglist-3">
                                            新密码：</td>
                                        <td class="bglist-4">
                                            <input name="txtUserPass" type="password" class="input2" id="txtUserPass" size="50"
                                                runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="145" valign="top" class="bglist-3">
                                            重复新密码：</td>
                                        <td class="bglist-4">
                                            <input name="txtUserPsw2" type="password" class="input2" id="txtUserPsw2" size="50"
                                                runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" class="bglist-3">
                                            <div align="right">
                                                <input name="ibtnModify" type="submit" class="button" id="ibtnModify" value="保存"
                                                    runat="server" onclick="return check();" onserverclick="ibtnModify_ServerClick">
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="10" valign="top">
                    <img src="/images/spacer.gif" width="10" height="1"></td>
            </tr>
        </table>
    </form>
</body>
</html>
